package com.nttuan.model.entity;

import java.util.Date;

/**
 * Created by TuanNT on 11/26/2014.
 */
public class Alarm {
    public static final String ALARM_AT = "alarmAt";
    public static final String TASK_ID = "taskId";
    private Date alarmAt;
    private Task task;
    private boolean stated;

    public Alarm(Date alarmAt, Task task) {
        this.alarmAt = alarmAt;
        this.task= task;
    }

    public Alarm() {
    }

    public Date getAlarmAt() {
        return alarmAt;
    }

    public void setAlarmAt(Date alarmAt) {
        this.alarmAt = alarmAt;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public boolean isStated() {
        return stated;
    }

    public void setStated(boolean stated) {
        this.stated = stated;
    }
}
